var express = require('express');
var router = express.Router();
const registerController = require('../controller/registerController.js');


router.post('/register', registerController.register);
router.get('/login', registerController.login);


router.get('/select', registerController.select);
router.get('/selectbyname', registerController.selectbyname);

// 管理员登录
router.get('/adminlogin', registerController.adminlogin);


module.exports = router;
